package cn.bugstack.springframework.test.bean;

import java.util.HashMap;
import java.util.Map;

public class UserDao {
    private static Map<String , String> hashMap = new HashMap<>();

    static {
        hashMap.put("10001", "阳哥");
        hashMap.put("10002", "小傅哥");
        hashMap.put("10003", "三毛");
    }
    public String queryUserName(String uId){
        return hashMap.get(uId);
    }
}
